        <section class="panel operation">
            <!-- <header class="panel-heading">运营情况</header> -->
            <!-- main -->
            <div class="panel-body pd-md">
                <div class="row">
                    <div id="operation" style="width: 100%;height:400px;"></div>
                </div>
            </div>
            <!-- main -->
        </section>
<script>


    // 图表配置
    var options = {
        chart: {
            type: 'column'
        },
        title: {
            text: '月运营情况'
        },
        // subtitle: {
        //     text: '数据来源: 数据库'
        // },
        //不显示highCharts版权信息
        credits: {
            enabled: false 
        },
        // 默认为可用，当设置为 false 时，图表的打印及导出功能失效
        // exporting: {
        // 	enabled: false
        // },
        xAxis: {
            categories: {:json_encode($operation['name'])},
            // categories: ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'],
            crosshair: true
        },
        yAxis: {
            min: 0,
            title: {
                text: '金额'
            }
        },
        tooltip: {
            headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
            pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +'<td style="padding:0"><b>{point.y:.1f} 元</b></td></tr>',
            footerFormat: '</table>',
            shared: true,
            useHTML: true
        },
        plotOptions: {
            column: { borderWidth: 0 }
        },
        series: [{
            name: '采购',
            // data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
            data: {:json_encode($operation['purchase']['money'])}
        }, {
            name: '入库',
            data: {:json_encode($operation['indepot']['money'])}
        }, {
            name: '销售',
            data: {:json_encode($operation['sale']['money'])}
        }, {
            name: '出库',
            data: {:json_encode($operation['outdepot']['money'])}
        }]
    };

    // 图表初始化函数
    Highcharts.chart('operation', options);

</script>